import Vue from 'vue'
import App from './App'
import http from './common/http.js'
import mrsHttp from './common/mrshttp.js'
import mrsHttpNoMsg from './common/mrshttpNoMsg.js'
import httpNoMsg from './common/httpNoMsg.js'
import appUtil from './common/appUtil.js'
import store from './store'
// main.js
import uView from '@/uni_modules/uview-ui'
import moment from 'moment';
Vue.prototype.$moment = moment;

Vue.use(uView)

Vue.config.productionTip = false
Vue.prototype.http = http
Vue.prototype.mrsHttp = mrsHttp
Vue.prototype.mrsHttpNoMsg = mrsHttpNoMsg
Vue.prototype.httpNoMsg = httpNoMsg
Vue.prototype.appUtil = appUtil
Vue.prototype.$store = store
App.mpType = 'app'

const app = new Vue({
	store,
	...App
})
app.$mount()
